package com.gpy.hospital.cms.dao;

import com.gpy.hospital.cms.pojo.Keshi;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface KeshiMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Keshi record);

    Keshi selectByPrimaryKey(Integer id);

    List<Keshi> selectAll(String name);

    int updateByPrimaryKey(Keshi record);

    List<Keshi> getByRandom();

    List<Keshi> getByStatus();
}